// test user request api
const http = uni.$u.http;

// 登录
export function login(params){
	return http.post('/api/user/login', params)
}
// 退出登录
export function logout(params){
	return http.post('/api/user/logout', params)
}

// 修改个人信息
export function profile(params){
	return http.post('/api/user/profile', params)
}

//修改密码
export function changepwd(params){
	return http.post('/api/user/changepwd', params)
}
//获取个人信息
export function userInfo(params){
	return http.post('/api/user/userInfo', params)
}